From d83b1275b4351b96615cb32b3a55deeb46f81111 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?utf8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Wed, 26 Mar 2014 11:59:52 +0000 Subject: [PATCH] W32: Remove selection from check/radio marks Current theme allows selection to leak into check/radio marks, resulting in ugly colored rectangles showing up underneath the marks. https://bugzilla.gnome.org/show_bug.cgi?id=727211 --- gtk/resources/theme/gtk-win32-base.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gtk/resources/theme/gtk-win32-base.css b/gtk/resources/theme/gtk-win32-base.css index 9f6bc0a966..1855bfe9dc 100644 --- a/gtk/resources/theme/gtk-win32-base.css +++ b/gtk/resources/theme/gtk-win32-base.css @@ -200,6 +200,10 @@ GtkButton.check:active:prelight { background-image: -gtk-win32-theme-part(button, 3 10); } +.check:selected { + background-color: transparent; +} + /* Radio buttons */ .radio { @@ -240,6 +244,10 @@ GtkButton.check:active:prelight { background-image: -gtk-win32-theme-part(button, 2 4, over(2 6, 0.3)); } +.radio:selected { + background-color: transparent; +} + /* Scrollbars */ /* TODO: Win32 has different concept for upper and lower trough, we -- 2.30.2